package com.songmao.pricecloudapitest.testcase.usermanagement;

import com.songmao.pricecloudapitest.server.PriceCloudHttpCore;
import com.songmao.pricecloudapitest.utils.ParsingJson;
import com.songmao.pricecloudapitest.utils.TestData;
import com.songmao.pricecloudapitest.utils.TestUitl;
import org.testng.annotations.Test;

import java.util.Map;

/**
 * @author Remy
 * @description :
 * @date 2020-07-13 16:44
 */
public class IpWhiteTestCase extends PriceCloudHttpCore {

    @Test(dataProvider = "dataProviderMap", dataProviderClass = TestData.class, description = "新增白名单")
    public void addIpWhilte(Map<String, String> map) {
        new ParsingJson(map.get("json")).updates("appid", TestUitl.getAttribute("appid"))
        .updates("uuid",TestUitl.getAttribute(""));
    }
}
